<%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
  <%%= f.error_notification %>

  <div class="w-full lg:w-1/3 m-auto">
  <%- attributes.each do |attribute| -%>
    <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
  <%- end -%>
  </div>

  <div class="w-full lg:w-1/3 m-auto">
    <%%= f.button :submit, class: 'button button-rounded button-flat button-flat-primary' %>
    <%%= link_to t('buttons.cancel'), url_for(:back), class: 'button button-rounded button-flat' %>
  </div>
<%% end %>
